<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script th:src="@{/static/front/js/jquery.min.js}" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            var ctx = $("#ctx").val();
            window.location.href = ctx + "/index.html";
        });
    </script>
</head>
<body>
    <div>
        <input type="hidden" id="ctx" th:value="${application.contentPath}">
    </div>
</body>
</html>